/*
Adept MobileRobots Robotics Interface for Applications (ARIA)
Copyright (C) 2004-2005 ActivMedia Robotics LLC
Copyright (C) 2006-2010 MobileRobots Inc.
Copyright (C) 2011-2014 Adept Technology

     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

If you wish to redistribute ARIA under different terms, contact 
Adept MobileRobots for information about a commercial version of ARIA at 
robots@mobilerobots.com or 
Adept MobileRobots, 10 Columbia Drive, Amherst, NH 03031; +1-603-881-7960
*/
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.40
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.mobilerobots.Aria;

public class ArCommands {
  /* (begin code from javabody typemap) */

  private long swigCPtr;
  protected boolean swigCMemOwn;

  /* for internal use by swig only */
  public ArCommands(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  /* for internal use by swig only */
  public static long getCPtr(ArCommands obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  /* (end code from javabody typemap) */

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        AriaJavaJNI.delete_ArCommands(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public ArCommands() {
    this(AriaJavaJNI.new_ArCommands(), true);
  }

  public final static class Commands {
    public final static Commands PULSE = new Commands("PULSE", AriaJavaJNI.ArCommands_PULSE_get());
    public final static Commands OPEN = new Commands("OPEN", AriaJavaJNI.ArCommands_OPEN_get());
    public final static Commands CLOSE = new Commands("CLOSE", AriaJavaJNI.ArCommands_CLOSE_get());
    public final static Commands POLLING = new Commands("POLLING", AriaJavaJNI.ArCommands_POLLING_get());
    public final static Commands ENABLE = new Commands("ENABLE", AriaJavaJNI.ArCommands_ENABLE_get());
    public final static Commands SETA = new Commands("SETA", AriaJavaJNI.ArCommands_SETA_get());
    public final static Commands SETV = new Commands("SETV", AriaJavaJNI.ArCommands_SETV_get());
    public final static Commands SETO = new Commands("SETO", AriaJavaJNI.ArCommands_SETO_get());
    public final static Commands MOVE = new Commands("MOVE", AriaJavaJNI.ArCommands_MOVE_get());
    public final static Commands ROTATE = new Commands("ROTATE", AriaJavaJNI.ArCommands_ROTATE_get());
    public final static Commands SETRV = new Commands("SETRV", AriaJavaJNI.ArCommands_SETRV_get());
    public final static Commands VEL = new Commands("VEL", AriaJavaJNI.ArCommands_VEL_get());
    public final static Commands HEAD = new Commands("HEAD", AriaJavaJNI.ArCommands_HEAD_get());
    public final static Commands DHEAD = new Commands("DHEAD", AriaJavaJNI.ArCommands_DHEAD_get());
    public final static Commands SAY = new Commands("SAY", AriaJavaJNI.ArCommands_SAY_get());
    public final static Commands JOYINFO = new Commands("JOYINFO", AriaJavaJNI.ArCommands_JOYINFO_get());
    public final static Commands CONFIG = new Commands("CONFIG", AriaJavaJNI.ArCommands_CONFIG_get());
    public final static Commands ENCODER = new Commands("ENCODER", AriaJavaJNI.ArCommands_ENCODER_get());
    public final static Commands SETRVDIR = new Commands("SETRVDIR", AriaJavaJNI.ArCommands_SETRVDIR_get());
    public final static Commands RVEL = new Commands("RVEL", AriaJavaJNI.ArCommands_RVEL_get());
    public final static Commands DCHEAD = new Commands("DCHEAD", AriaJavaJNI.ArCommands_DCHEAD_get());
    public final static Commands SETRA = new Commands("SETRA", AriaJavaJNI.ArCommands_SETRA_get());
    public final static Commands SONAR = new Commands("SONAR", AriaJavaJNI.ArCommands_SONAR_get());
    public final static Commands STOP = new Commands("STOP", AriaJavaJNI.ArCommands_STOP_get());
    public final static Commands DIGOUT = new Commands("DIGOUT", AriaJavaJNI.ArCommands_DIGOUT_get());
    public final static Commands VEL2 = new Commands("VEL2", AriaJavaJNI.ArCommands_VEL2_get());
    public final static Commands GRIPPER = new Commands("GRIPPER", AriaJavaJNI.ArCommands_GRIPPER_get());
    public final static Commands ADSEL = new Commands("ADSEL", AriaJavaJNI.ArCommands_ADSEL_get());
    public final static Commands GRIPPERVAL = new Commands("GRIPPERVAL", AriaJavaJNI.ArCommands_GRIPPERVAL_get());
    public final static Commands GRIPPERPACREQUEST = new Commands("GRIPPERPACREQUEST", AriaJavaJNI.ArCommands_GRIPPERPACREQUEST_get());
    public final static Commands IOREQUEST = new Commands("IOREQUEST", AriaJavaJNI.ArCommands_IOREQUEST_get());
    public final static Commands PTUPOS = new Commands("PTUPOS", AriaJavaJNI.ArCommands_PTUPOS_get());
    public final static Commands TTY2 = new Commands("TTY2", AriaJavaJNI.ArCommands_TTY2_get());
    public final static Commands GETAUX = new Commands("GETAUX", AriaJavaJNI.ArCommands_GETAUX_get());
    public final static Commands BUMPSTALL = new Commands("BUMPSTALL", AriaJavaJNI.ArCommands_BUMPSTALL_get());
    public final static Commands TCM2 = new Commands("TCM2", AriaJavaJNI.ArCommands_TCM2_get());
    public final static Commands JOYDRIVE = new Commands("JOYDRIVE", AriaJavaJNI.ArCommands_JOYDRIVE_get());
    public final static Commands MOVINGBLINK = new Commands("MOVINGBLINK", AriaJavaJNI.ArCommands_MOVINGBLINK_get());
    public final static Commands HOSTBAUD = new Commands("HOSTBAUD", AriaJavaJNI.ArCommands_HOSTBAUD_get());
    public final static Commands AUX1BAUD = new Commands("AUX1BAUD", AriaJavaJNI.ArCommands_AUX1BAUD_get());
    public final static Commands AUX2BAUD = new Commands("AUX2BAUD", AriaJavaJNI.ArCommands_AUX2BAUD_get());
    public final static Commands ESTOP = new Commands("ESTOP", AriaJavaJNI.ArCommands_ESTOP_get());
    public final static Commands ESTALL = new Commands("ESTALL", AriaJavaJNI.ArCommands_ESTALL_get());
    public final static Commands GYRO = new Commands("GYRO", AriaJavaJNI.ArCommands_GYRO_get());
    public final static Commands TTY4 = new Commands("TTY4", AriaJavaJNI.ArCommands_TTY4_get());
    public final static Commands GETAUX3 = new Commands("GETAUX3", AriaJavaJNI.ArCommands_GETAUX3_get());
    public final static Commands BATTERYINFO = new Commands("BATTERYINFO", AriaJavaJNI.ArCommands_BATTERYINFO_get());
    public final static Commands TTY3 = new Commands("TTY3", AriaJavaJNI.ArCommands_TTY3_get());
    public final static Commands GETAUX2 = new Commands("GETAUX2", AriaJavaJNI.ArCommands_GETAUX2_get());
    public final static Commands BATTEST = new Commands("BATTEST", AriaJavaJNI.ArCommands_BATTEST_get());
    public final static Commands LOADPARAM = new Commands("LOADPARAM", AriaJavaJNI.ArCommands_LOADPARAM_get());
    public final static Commands OLDSIM_LOADPARAM = new Commands("OLDSIM_LOADPARAM", AriaJavaJNI.ArCommands_OLDSIM_LOADPARAM_get());
    public final static Commands ENDSIM = new Commands("ENDSIM", AriaJavaJNI.ArCommands_ENDSIM_get());
    public final static Commands OLDSIM_EXIT = new Commands("OLDSIM_EXIT", AriaJavaJNI.ArCommands_OLDSIM_EXIT_get());
    public final static Commands LOADWORLD = new Commands("LOADWORLD", AriaJavaJNI.ArCommands_LOADWORLD_get());
    public final static Commands OLDSIM_LOADWORLD = new Commands("OLDSIM_LOADWORLD", AriaJavaJNI.ArCommands_OLDSIM_LOADWORLD_get());
    public final static Commands STEP = new Commands("STEP", AriaJavaJNI.ArCommands_STEP_get());
    public final static Commands OLDSIM_STEP = new Commands("OLDSIM_STEP", AriaJavaJNI.ArCommands_OLDSIM_STEP_get());
    public final static Commands CALCOMP = new Commands("CALCOMP", AriaJavaJNI.ArCommands_CALCOMP_get());
    public final static Commands SETSIMORIGINTH = new Commands("SETSIMORIGINTH", AriaJavaJNI.ArCommands_SETSIMORIGINTH_get());
    public final static Commands OLDSIM_SETORIGINTH = new Commands("OLDSIM_SETORIGINTH", AriaJavaJNI.ArCommands_OLDSIM_SETORIGINTH_get());
    public final static Commands RESETSIMTOORIGIN = new Commands("RESETSIMTOORIGIN", AriaJavaJNI.ArCommands_RESETSIMTOORIGIN_get());
    public final static Commands OLDSIM_RESETTOORIGIN = new Commands("OLDSIM_RESETTOORIGIN", AriaJavaJNI.ArCommands_OLDSIM_RESETTOORIGIN_get());
    public final static Commands SOUND = new Commands("SOUND", AriaJavaJNI.ArCommands_SOUND_get());
    public final static Commands PLAYLIST = new Commands("PLAYLIST", AriaJavaJNI.ArCommands_PLAYLIST_get());
    public final static Commands SOUNDTOG = new Commands("SOUNDTOG", AriaJavaJNI.ArCommands_SOUNDTOG_get());
    public final static Commands POWER_PC = new Commands("POWER_PC", AriaJavaJNI.ArCommands_POWER_PC_get());
    public final static Commands POWER_LRF = new Commands("POWER_LRF", AriaJavaJNI.ArCommands_POWER_LRF_get());
    public final static Commands POWER_5V = new Commands("POWER_5V", AriaJavaJNI.ArCommands_POWER_5V_get());
    public final static Commands POWER_12V = new Commands("POWER_12V", AriaJavaJNI.ArCommands_POWER_12V_get());
    public final static Commands POWER_24V = new Commands("POWER_24V", AriaJavaJNI.ArCommands_POWER_24V_get());
    public final static Commands POWER_AUX_PC = new Commands("POWER_AUX_PC", AriaJavaJNI.ArCommands_POWER_AUX_PC_get());
    public final static Commands POWER_TOUCHSCREEN = new Commands("POWER_TOUCHSCREEN", AriaJavaJNI.ArCommands_POWER_TOUCHSCREEN_get());
    public final static Commands POWER_PTZ = new Commands("POWER_PTZ", AriaJavaJNI.ArCommands_POWER_PTZ_get());
    public final static Commands POWER_AUDIO = new Commands("POWER_AUDIO", AriaJavaJNI.ArCommands_POWER_AUDIO_get());
    public final static Commands POWER_LRF2 = new Commands("POWER_LRF2", AriaJavaJNI.ArCommands_POWER_LRF2_get());
    public final static Commands LATVEL = new Commands("LATVEL", AriaJavaJNI.ArCommands_LATVEL_get());
    public final static Commands LATACCEL = new Commands("LATACCEL", AriaJavaJNI.ArCommands_LATACCEL_get());
    public final static Commands SETLATV = new Commands("SETLATV", AriaJavaJNI.ArCommands_SETLATV_get());
    public final static Commands SRECORD = new Commands("SRECORD", AriaJavaJNI.ArCommands_SRECORD_get());
    public final static Commands MARCDEBUG = new Commands("MARCDEBUG", AriaJavaJNI.ArCommands_MARCDEBUG_get());
    public final static Commands WHEEL_LIGHT = new Commands("WHEEL_LIGHT", AriaJavaJNI.ArCommands_WHEEL_LIGHT_get());
    public final static Commands ABSOLUTE_MAXES = new Commands("ABSOLUTE_MAXES", AriaJavaJNI.ArCommands_ABSOLUTE_MAXES_get());
    public final static Commands SAFETY_STATE_INFO = new Commands("SAFETY_STATE_INFO", AriaJavaJNI.ArCommands_SAFETY_STATE_INFO_get());
    public final static Commands SAFETY_SET_STATE = new Commands("SAFETY_SET_STATE", AriaJavaJNI.ArCommands_SAFETY_SET_STATE_get());
    public final static Commands SAFETY_DISABLE_POWER_OFF_TIMER = new Commands("SAFETY_DISABLE_POWER_OFF_TIMER", AriaJavaJNI.ArCommands_SAFETY_DISABLE_POWER_OFF_TIMER_get());
    public final static Commands SIM_SET_POSE = new Commands("SIM_SET_POSE", AriaJavaJNI.ArCommands_SIM_SET_POSE_get());
    public final static Commands SIM_RESET = new Commands("SIM_RESET", AriaJavaJNI.ArCommands_SIM_RESET_get());
    public final static Commands SIM_LRF_ENABLE = new Commands("SIM_LRF_ENABLE", AriaJavaJNI.ArCommands_SIM_LRF_ENABLE_get());
    public final static Commands SIM_LRF_SET_FOV_START = new Commands("SIM_LRF_SET_FOV_START", AriaJavaJNI.ArCommands_SIM_LRF_SET_FOV_START_get());
    public final static Commands SIM_LRF_SET_FOV_END = new Commands("SIM_LRF_SET_FOV_END", AriaJavaJNI.ArCommands_SIM_LRF_SET_FOV_END_get());
    public final static Commands SIM_LRF_SET_RES = new Commands("SIM_LRF_SET_RES", AriaJavaJNI.ArCommands_SIM_LRF_SET_RES_get());
    public final static Commands SIM_CTRL = new Commands("SIM_CTRL", AriaJavaJNI.ArCommands_SIM_CTRL_get());
    public final static Commands SIM_STAT = new Commands("SIM_STAT", AriaJavaJNI.ArCommands_SIM_STAT_get());
    public final static Commands SIM_MESSAGE = new Commands("SIM_MESSAGE", AriaJavaJNI.ArCommands_SIM_MESSAGE_get());
    public final static Commands SIM_EXIT = new Commands("SIM_EXIT", AriaJavaJNI.ArCommands_SIM_EXIT_get());

    public final int swigValue() {
      return swigValue;
    }

    public String toString() {
      return swigName;
    }

    public static Commands swigToEnum(int swigValue) {
      if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
        return swigValues[swigValue];
      for (int i = 0; i < swigValues.length; i++)
        if (swigValues[i].swigValue == swigValue)
          return swigValues[i];
      throw new IllegalArgumentException("No enum " + Commands.class + " with value " + swigValue);
    }

    private Commands(String swigName) {
      this.swigName = swigName;
      this.swigValue = swigNext++;
    }

    private Commands(String swigName, int swigValue) {
      this.swigName = swigName;
      this.swigValue = swigValue;
      swigNext = swigValue+1;
    }

    private Commands(String swigName, Commands swigEnum) {
      this.swigName = swigName;
      this.swigValue = swigEnum.swigValue;
      swigNext = this.swigValue+1;
    }

    private static Commands[] swigValues = { PULSE, OPEN, CLOSE, POLLING, ENABLE, SETA, SETV, SETO, MOVE, ROTATE, SETRV, VEL, HEAD, DHEAD, SAY, JOYINFO, CONFIG, ENCODER, SETRVDIR, RVEL, DCHEAD, SETRA, SONAR, STOP, DIGOUT, VEL2, GRIPPER, ADSEL, GRIPPERVAL, GRIPPERPACREQUEST, IOREQUEST, PTUPOS, TTY2, GETAUX, BUMPSTALL, TCM2, JOYDRIVE, MOVINGBLINK, HOSTBAUD, AUX1BAUD, AUX2BAUD, ESTOP, ESTALL, GYRO, TTY4, GETAUX3, BATTERYINFO, TTY3, GETAUX2, BATTEST, LOADPARAM, OLDSIM_LOADPARAM, ENDSIM, OLDSIM_EXIT, LOADWORLD, OLDSIM_LOADWORLD, STEP, OLDSIM_STEP, CALCOMP, SETSIMORIGINTH, OLDSIM_SETORIGINTH, RESETSIMTOORIGIN, OLDSIM_RESETTOORIGIN, SOUND, PLAYLIST, SOUNDTOG, POWER_PC, POWER_LRF, POWER_5V, POWER_12V, POWER_24V, POWER_AUX_PC, POWER_TOUCHSCREEN, POWER_PTZ, POWER_AUDIO, POWER_LRF2, LATVEL, LATACCEL, SETLATV, SRECORD, MARCDEBUG, WHEEL_LIGHT, ABSOLUTE_MAXES, SAFETY_STATE_INFO, SAFETY_SET_STATE, SAFETY_DISABLE_POWER_OFF_TIMER, SIM_SET_POSE, SIM_RESET, SIM_LRF_ENABLE, SIM_LRF_SET_FOV_START, SIM_LRF_SET_FOV_END, SIM_LRF_SET_RES, SIM_CTRL, SIM_STAT, SIM_MESSAGE, SIM_EXIT };
    private static int swigNext = 0;
    private final int swigValue;
    private final String swigName;
  }

}
